package com.woniuxy.opencv.client;

import com.woniuxy.opencv.pojo.Vehicle;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "vehicle-server")
public interface VehicleClient {
    
    @GetMapping("/api/vehicle/check/{plateNumber}")
    ResponseEntity<Vehicle> checkVehicle(@PathVariable("plateNumber") String plateNumber);
} 